home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
graphics
/
dxlib50.zip
/
MICROSOF.ZIP
/
XLIB.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-02-11
|
5KB
|
114 lines
/*C++ programs should replace extern with extern "C" in all prototypes below*/
/* ------ ---------- */
extern unsigned long __far __pascal GDT;
extern unsigned int __far __pascal CSEGSEL;
extern unsigned int __far __pascal CSEGDSEL;
extern unsigned int __far __pascal TSEGSEL;
extern unsigned int __far __pascal TSEGDSEL;
extern unsigned int __far __pascal DSEGSEL;
extern unsigned int __far __pascal FLATSEL;
extern unsigned int __far __pascal FLATDSEL;
extern unsigned int __far __pascal DGROUPSEL;
extern unsigned int __far __pascal SCRNSEL;
extern unsigned int __far __pascal MAINCSSEL;
extern unsigned int __far __pascal MAINSSSEL;
extern unsigned int __far __pascal MAINDSSEL;
extern unsigned int __far __pascal MAINESSEL;
extern unsigned int __far __pascal ILCSSEL;
extern unsigned int __far __pascal ILSSSEL;
extern unsigned int __far __pascal ILDSSEL;
extern unsigned long __far __pascal CCODE;
extern unsigned char __far __pascal IRQ0INTNO;
extern unsigned char __far __pascal IRQ8INTNO;
extern unsigned char __far __pascal FPUSTATE[108];
extern unsigned int __far __pascal IFLAGS;
extern unsigned int __far __pascal OFLAGS;
extern unsigned int __far __pascal FPUCW;
extern unsigned int __far __pascal HOTKEY;
extern unsigned int __far __pascal RMDS;
extern unsigned int __far __pascal RMES;
extern unsigned int __far __pascal PMDS;
extern unsigned int __far __pascal PMES;
extern unsigned int __far __pascal PMFS;
extern unsigned int __far __pascal PMGS;
extern unsigned char __far __pascal PIC1BASEINT;
extern unsigned char __far __pascal PIC2BASEINT;
extern unsigned long __far __pascal CPUINTFLAGS;
extern unsigned long __far __pascal CCODEPTR;
extern unsigned long __far __pascal PAGESIZE;
extern unsigned int __far __pascal CSEGVAL;
extern unsigned int __far __pascal TSEGVAL;
extern unsigned int __far __pascal DSEGVAL;
extern unsigned int __far __pascal DGROUPVAL;
extern unsigned long __far __pascal INLINERMPTR;
extern unsigned long __far __pascal CALL32PTR;
extern unsigned long __far __pascal FILEBUFADR;
extern unsigned int __far __pascal FILEBUFSIZE;
extern unsigned long __far __pascal ORGEFLAGS;
extern unsigned long __far __pascal ORGEAX;
extern unsigned long __far __pascal ORGEBX;
extern unsigned long __far __pascal ORGECX;
extern unsigned long __far __pascal ORGEDX;
extern unsigned long __far __pascal ORGESI;
extern unsigned long __far __pascal ORGEDI;
extern unsigned long __far __pascal ORGEBP;
extern unsigned long __far __pascal ORGESP;
extern unsigned int __far __pascal ORGSS;
extern unsigned int __far __pascal ORGDS;
extern unsigned int __far __pascal ORGES;
extern unsigned int __far __pascal ORGFS;
extern unsigned int __far __pascal ORGGS;
extern unsigned char __far __pascal ORGFPU[94];
extern unsigned long __far __pascal CALLESP;
extern unsigned int __far __pascal CALLSS;
extern unsigned int __far __pascal CALLDS;
extern unsigned int __far __pascal CALLES;
extern unsigned int __far __pascal CALLFS;
extern unsigned int __far __pascal CALLGS;
extern long __far __pascal XLIBMEMREQ(void);
extern unsigned long __far __pascal VCPIMEMREQ(void);
extern unsigned long __far __pascal DPMIMEMREQ(void);
extern unsigned long __far __pascal INITXLIB(void);
extern unsigned int __far __pascal XLIBCONFIG(void);
extern void __far __pascal INLINEPM(void);
extern void __far __pascal INLINERM(void);
extern void __far __pascal CALL32(void);
extern void __far __pascal CALLPM(void);
extern void __far __pascal ENTERPM(void);
extern void __far __pascal MAPIO(void);
extern void __far __pascal GETMEM(void);
extern void __far __pascal FREEMEM(void);
extern void __far __pascal RESETMEM(void);
extern void __far __pascal GETUMEM(void);
extern void __far __pascal UNCOMMITMEM(void);
extern void __far __pascal GETPMIV(void);
extern void __far __pascal SETPMIV(void);
extern void __far __pascal SETDESC(void);
extern void __far __pascal XCREATE(void);
extern void __far __pascal XOPEN(void);
extern void __far __pascal XCLOSE(void);
extern void __far __pascal XSAVE(void);
extern void __far __pascal XLOAD(void);
extern void __far __pascal XWRITE(void);
extern void __far __pascal XREAD(void);
extern void __far __pascal SETWATCH(void);
extern void __far __pascal FREEWATCH(void);
extern void __far __pascal RESETWATCH(void);
extern void __near __pascal SWITCHPM(void);
extern void __near __pascal SWITCHRM(void);
struct xfile
{
unsigned long condcode;
unsigned char fname[68];
unsigned int fhandle;
unsigned int fptrmode;
unsigned long fptr;
unsigned long blkadr;
unsigned long blksize;
unsigned long bufadr;
unsigned int bufsize;
unsigned int control;
};